﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PedestrianSensingRadar
{
    public class DataparserFactory
    {
        public IDataparser GetDataparser(int type)
        {
            if(type==0)
            {
                return new SerDataparser();
            }
            else if(type==1)
            {
                return null;                
            }
            else
            {
                return null;
            }            
        }
    }
}
